//
//  KSOrderDetailView.swift
//  Supermarket
//
//  Created by liuxm on 2017/9/27.
//  Copyright © 2017年 kushao. All rights reserved.
//

import UIKit

/// 订单详情
class KSOrderDetailView: UIView {

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */
    
    override init(frame: CGRect) {
        super.init(frame: frame)
    }
    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }
    
    func initView() {
        let temp = ["", "", ""]
        let goodsView = UIView(frame: CGRect(x: 0, y: 0, width: KSConstants.kScreenWidth, height: 110))
        goodsView.backgroundColor = UIColor.colorWithHexString(hex: "#f9fafb")
        self.addSubview(goodsView)
        
        let imageView = UIImageView(image: UIImage(named: "Home_Clothes"))
        imageView.frame = CGRect(x: 10, y: 0, width: 90, height: 90)
        goodsView.addSubview(imageView)
    }
}
